home *** CD-ROM | disk | FTP | other *** search
- global gReturnFromQuit, gLeftFromQTOver, gLeftFromQTDemo, gMovieTimeWhenLeft, cDemoQT
-
- on mouseDown
- puppetSprite(the clickOn, 1)
- repeat while the stillDown
- if rollOver(the clickOn) then
- set the castNum of sprite the clickOn to the number of cast "Quit lit"
- updateStage()
- next repeat
- end if
- set the castNum of sprite the clickOn to the number of cast "Quit"
- updateStage()
- end repeat
- end
-
- on mouseUp
- set the castNum of sprite the clickOn to the number of cast "Quit"
- puppetSprite(the clickOn, 0)
- if rollOver(the clickOn) then
- sound stop 1
- sound stop 2
- set gReturnFromQuit to 1
- set gLeftFromQTOver to 0
- set gLeftFromQTDemo to 1
- set gMovieTimeWhenLeft to the movieTime of sprite cDemoQT
- play movie "quit"
- end if
- end
-